package com.open.capacity.dao;

import com.open.capacity.model.LoginModel;
import com.open.capacity.model.UserModel;
import org.apache.ibatis.annotations.Param;

/**
 * @author: y_022
 * @date: 11:38-2021/6/26
 * @description:
 */
public interface LoginDao {
    UserModel login(@Param("loginModel") LoginModel loginModel);
    UserModel findUserByPhones(String phones);
    UserModel findUserByEmails(String emails);
    void register(@Param("userModel") UserModel userModel);
}
